package com.mervin.patterns.builder;

/***************************************
 * @Auther: mervin
 * @Date: 2020-04-18 00:59
 * @Description: 苹果具体建造者
 ***************************************/
public class AppleBuilder extends FruitBuilder{

    @Override
    public void washFruit() {
        System.out.println("按照清洗工艺清洗苹果");
        fruit.setClean("干净的苹果");
    }

    @Override
    public void selectionFruit() {
        System.out.println("按照挑选规则挑选苹果");
        fruit.setQuality("优质的苹果");
    }

    @Override
    public void packagedFruit() {
        System.out.println("按照挑选规则挑选苹果");
        fruit.setPackaged("优质的苹果");
    }
}
